GemaCoreLib
The GeMA Core library
Loading...
Searching...
No Matches
GmCellBoundary Class Referenceabstract

This class stores a set of cell edges or cell faces that together form a piece of the boundary of a mesh. More...

#include <gmCellBoundary.h>

Inheritance diagram for GmCellBoundary:

Public Member Functions

virtual ~GmCellBoundary ()
 Virtual destructor.
 
virtual QString id () const =0
 Returns the boundary name.
 
virtual GmCellBoundaryType type () const =0
 Returns the type of boundary stored by this object (edges or faces)
 
virtual GmCellMeshmesh () const =0
 Returns the mesh that this border is tied to.
 
virtual int numCells () const =0
 Returns the number of cells stored in this group.
 
virtual GmCellcell (int i) const =0
 Returns the cell of the i'th entry stored in this group.
 
virtual int cellBorder (int i) const =0
 Returns the border index of the i'th entry stored in this group.
 
virtual bool setBoundaryData (int numCells, int *cellList, int *borderList)
 Updates the cell and border lists in the border object.
 
virtual size_t usedMemory () const =0
 Returns an estimative of the memory used by the boundary in bytes.
 
int * buildNodeList (int *size)
 

Detailed Description

This class stores a set of cell edges or cell faces that together form a piece of the boundary of a mesh.

Member Function Documentation

◆ cell()

virtual GmCell * GmCellBoundary::cell ( int i) const
pure virtual

Returns the cell of the i'th entry stored in this group.

Implemented in BcCellBoundary.

◆ cellBorder()

virtual int GmCellBoundary::cellBorder ( int i) const
pure virtual

Returns the border index of the i'th entry stored in this group.

This index can be an edge index or a face index, depending on the type of boundary stored in this group. This index should be considered together with the cell geometry definition stored by the class GmCellGeometry

Implemented in BcCellBoundary.

◆ id()

virtual QString GmCellBoundary::id ( ) const
pure virtual

Returns the boundary name.

Implemented in BcCellBoundary.

◆ mesh()

virtual GmCellMesh * GmCellBoundary::mesh ( ) const
pure virtual

Returns the mesh that this border is tied to.

Implemented in BcCellBoundary.

◆ numCells()

virtual int GmCellBoundary::numCells ( ) const
pure virtual

Returns the number of cells stored in this group.

Implemented in BcCellBoundary.

◆ setBoundaryData()

virtual bool GmCellBoundary::setBoundaryData ( int numCells,
int * cellList,
int * borderList )
inlinevirtual

Updates the cell and border lists in the border object.

If this operation is not supported by a mesh implementation, this function should return false. The object takes ownership of the supplied vectors (unless the function returns false). If the concrete representation will not use the supplied vectors internally, it should delete the given data.

◆ type()

virtual GmCellBoundaryType GmCellBoundary::type ( ) const
pure virtual

Returns the type of boundary stored by this object (edges or faces)

Implemented in BcCellBoundary.

◆ usedMemory()

virtual size_t GmCellBoundary::usedMemory ( ) const
pure virtual

Returns an estimative of the memory used by the boundary in bytes.

Implemented in BcCellBoundary.


The documentation for this class was generated from the following files: